Commercial use restricted: contact 'commstalk.hq' on AppleLink for details.
Source code distribution is restricted.
SimpliFace requires AppleScript version 1.0. It is a fairly basic scriptable & attachable AE Object Model compliant application. It offers simple window building facilities: you can use it to construct scripted windows that contain text fields (not editable text, yet) and buttons.
To build SimpliFace, you must have MPW 3.3.1 and MPW C++ (the latest versions from ETO#12). Set the directory to the "SimpliFace_Dev" directory, and run the "buildSimpliFace" shell script. Hopefully, I haven't missed anything out. Please note that you do need file "ASDebugging.h" to compile SimpliFace.
The program is based around a C++ framework, similar to that used in the 'ASLM' sample applications (ASLM is not used in SimpliFace). I like to use lightweight C++ classes that don't depend on one-another too much (thus aiding their re-use), so the program structure is not so tightly integrated as (say) a MacApp program. In the spirit of sample applications, most of the error handling has been 'left for later'.
All application-domain scriptable objects derive from a 'TScriptableObject' (see source file "ScriptableObjects.h") that has an attached script and is able to assist with object resolution and apple event handling. A 'TObjModelToken' class (see "ObjModelTokens.h") is defined to manage token resolution and apple event dispatching; the interaction of these is managed from a bunch of static functions in "ObjModelEvents.cp". The application's behaviour is defined in "Application.cp" and "SimpliFace.cp" (the latter contains the main program function).
There is still some work to do: editable text fields, the ability to save persistent globals (probably in a file in the preferences folder), make all window & button kinds and object properties work, not to mention some more testing and debugging. There is an active proc, but I have not implemented ae-sending hooks or an idle proc yet. I also need to strip out some redundant code: not everything is actually being used.
SimpliFace is an unsupported prototype, and we do not expect SimpliFace will become a product in its own right, but it does form a test-bed for technologies incorporated in our 'AgentBuilder' application (and most important of all, the source code will hopefully form the basis of a 'develop' magazine article - so it needs to be right!). Accordingly, we want to receive your bug reports and suggestions. Send your feedback by electronic mail, please, to: